package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.common.R;
import com.example.demo.entity.user.LoginDto;
import com.example.demo.entity.user.LoginVo;
import com.example.demo.entity.user.RegistDto;
import com.example.demo.entity.user.User;

public interface UserService extends IService<User> {
    R<Boolean> regist(RegistDto registDto) throws Exception;

    R<LoginVo> login(LoginDto loginDto) throws Exception;
}
